import { u_get } from '@/api'

const api = {
  LOGIN: '/login',
  ROLES: '/findall'
}

export const login = params => u_get(api.LOGIN, params)
export const getRoles = params => u_get(api.ROLES, params)
